package com.myapp.myhome.utils;

import android.content.Context;
import android.widget.Toast;

public class AllUtils {
	static Toast toast;

	public static void showToast(Context context, String str) {
		if (toast == null) {
			toast = Toast.makeText(context, str, Toast.LENGTH_SHORT);
		}
		toast.setText(str);
		toast.show();
	}
}
